<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="../dist/layui.css">
    <link rel="stylesheet" href="../src-new/style-form.css">
    <style>
        body{
            padding: 20px 200px;
        }
    </style>
</head>
<body>

<form class="layui-form">
    <div class="form-group">
        <label for="exampleInputEmail1">Email address</label>
        <input type="email" class="form-control" id="exampleInputEmail1" placeholder="Email">
    </div>
    <div class="form-group">
        <label for="exampleInputPassword1">Password</label>
        <input type="password" class="form-control" id="exampleInputPassword1" placeholder="Password">
    </div>
    <div class="form-group">
        <label for="exampleInputFile">File input</label>
        <div class="">
            <button id="exampleInputFile" type="button" class="layui-btn layui-btn-primary" id="test4"><i class="layui-icon"></i> 只允许压缩文件</button>
        </div>
        <p class="help-block">Example block-level help text here.</p>
    </div>
    <div class="form-group">
            <input type="checkbox" class="layui-checkbox" title="Check me out">
    </div>
    <button type="submit" class="btn btn-primary">Submit</button>
</form>

<script src="../src/layui.js"></script>
<script>
    layui.use(['jquery', 'form'], function($, form){

    });
</script>
</body>
</html>